//
//  LLNavigationViewController.m
//  lrlzapp
//
//  Created by dl on 16/2/23.
//  Copyright © 2016年 lrlz. All rights reserved.
//

#import "LLNavigationViewController.h"
#import "UINavigationBar+Awesome.h"

@interface LLNavigationViewController ()

@end

@implementation LLNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self.navigationBar lt_setBackgroundColor:[UIColor colorWithRed:1 green:1 blue:1 alpha:1]];
    self.navigationBar.titleTextAttributes = @{
            NSForegroundColorAttributeName : UI_COLOR_FONT_BLACK,
            NSFontAttributeName : SUIT_FONT(17)
    };
}

- (BOOL)shouldAutorotate {
    return self.topViewController.shouldAutorotate;
}

- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return self.topViewController.supportedInterfaceOrientations;
}

- (UIStatusBarStyle)preferredStatusBarStyle {
    return self.topViewController.preferredStatusBarStyle;
}

@end
